﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace iuPlace.Core
{
    public static class Settings
    {
        public static string MobileApplication { get { return "iuPlaceApp"; } }

        public static string DataBaseConnectionString
        {
            get { return RoleEnvironment.GetConfigurationSettingValue("DataBaseConnectionString"); }
        }

        public static string StorageConnectionString
        {
            get { return RoleEnvironment.GetConfigurationSettingValue("StorageConnectionString"); }
        }

        public static string CacheConnectionString
        {
            get { return RoleEnvironment.GetConfigurationSettingValue("CacheConnectionString"); }
        }

        public static string BaseDirectory
        {
            get { return AppDomain.CurrentDomain.BaseDirectory; }
        }
    }
}
